package ace.module.oauth2.server.core.impl.converter;

import java.util.Map;

/**
 * @author caspar
 * @date 2023/10/12 11:50
 */
public interface Oauth2ObjectJsonConverter {
  String toJson(Object object);

  Map<String, Object> toMap(String json);

  <T> T toObject(String json, Class<T> cls);
}
